import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import storeModule from './module'

Vue.use(Vuex)

const modules = {
  ...storeModule
}
export default new Vuex.Store({
  state,
  modules
})
